/**
 * 
 */
package com.liaoting.ssh2.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.liaoting.ssh2.dao.BaseDAO;
import com.liaoting.ssh2.dao.UserDAO;
import com.liaoting.ssh2.po.User;

/**   
 * @Package com.liaoting.ssh2.dao.impl
 * @Class com.liaoting.ssh2.dao.impl.UserDaoImpl
 * @Description: TODO
 * @author Mrs.Liao
 * @date 2015年4月25日下午8:00:51
 * @version V1.0
 * Copyright 西安金智云起点 Corporation 2015
 */
@Repository
public class UserDaoImpl extends BaseDAO implements UserDAO {

	/* (non-Javadoc)
	 * @see com.liaoting.ssh2.dao.UserDAO#findAll()
	 */
	public List<User> findAll() {
		String hql = "from User";
		return this.getHibernateTemplate().find(hql);
	}

}
